package vip.websky.project.user.error;

import vip.websky.project.common.error.ErrorMessage;

/**
 * 用户模块错误信息
 *
 * @Author Yong.Yang E-mail:yang2048@qq.com
 * @Create 2017/8/13-16:08
 */
public class UserErrorMessage extends ErrorMessage {




    public final static String USER_ADD_FAIL = "创建用户失败!";
    public final static String USER_NOT_EXIST = "该用户不存在，请确认信息正确!";
    public final static String USER_EDIT_FAIL = "修改用户信息失败，请确认信息正确!";
    public final static String USER_IS_EXIST = "该用户已存在!";
    public final static String LOGIN_PASS_EXIST = "密码错误，请重新输入!";
    public final static String USER_STATUS_EXIST = "账号未启用，请联系管理员!";

    public final static String ROLE_ADD_FAIL = "创建角色失败!";
    public final static String ROLE_NOT_EXIST = "该角色不存在，请确认信息正确!";
    public final static String ROLE_EDIT_FAIL = "修改角色信息失败，请确认信息正确!";
    public final static String ROLE_IS_EXIST = "该角色已存在!";

    public final static String PERMISSION_ADD_FAIL = "菜单添加失败!";
    public final static String PERMISSION_NOT_EXIST = "菜单信息不存在，请确认信息正确!";
    public final static String PERMISSION_EDIT_FAIL = "修改菜单信息失败，请确认信息正确!";
    public final static String PERMISSION_IS_EXIST = "菜单已存在!";

    public final static String USERROLE_ADD_FAIL = "菜单添加失败!";
    public final static String USERROLE_NOT_EXIST = "菜单信息不存在，请确认信息正确!";
    public final static String USERROLE_EDIT_FAIL = "修改菜单信息失败，请确认信息正确!";

}
